package org.hxyjs.dao;

import org.hxyjs.entity.AdminChef;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface AdminChefDao {
    public List<AdminChef> getAdminChefByPage(PageInfo pageInfo) throws Exception;

    public List<AdminChef> getAllAdminChefs() throws Exception;

    public AdminChef getAdminChefByAcno(String acno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteAdminChefByAcno(String acno) throws Exception;

    Integer updateAdminChefByAcno(AdminChef adminChef) throws Exception;

    Integer addAdminChef(AdminChef adminChef) throws Exception;




}
